<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }
        li{
            list-style: none;
        }
        .title {
            width: 320px;
            height: 38px;
            border: 1px solid #eee;
        }
        .title ul {
            overflow: hidden;
        }
        .title ul li {
            float: left;
            width: 80px;
            height: 34px;
            border-top: 2px solid rgba(0,0,0,0);
        }
        .title ul li.current {
            border-top: 2px solid red;
        }
        .title ul li a {
            display: block;
            width: 100%;
            height: 100%;
            text-align: center;
            line-height: 34px;
        }
        .content {
            width: 1000px;
            height: 475px;
            position: relative;
            border: 1px solid #eee;
        }
        .content div{
            position: absolute;
            top: 0;
            left: 0;
            display: none;
        }
        .content div.show {
            display: block;
        }
    </style>
</head>
<body>
    <div class="box">
        <div class="title">
            <ul>
                <li class='current'><a href="javascript:void(0)">国际大牌</a></li>
                <li><a href="javascript:void(0)">国妆品牌</a></li>
                <li><a href="javascript:void(0)">清洁用品</a></li>
                <li><a href="javascript:void(0)">男士精品</a></li>
            </ul>
        </div>
        <div class="content">
            <div class='int_big show'><img src="imgs/guojidapai.jpg" alt=""></div>
            <div class='int_brand'><img src="imgs/guozhuangmingpin.jpg" alt=""></div>
            <div class='clean'><img src="imgs/qingjieyongpin.jpg" alt=""></div>
            <div class='man'><img src="imgs/nanshijingpin.jpg" alt=""></div>
        </div>
    </div>
    <script src="../jquery-1.12.4.js"></script>
    <script>
        $(function(){
            $('.title>ul>li').mouseenter(function(){
                $(this).addClass('current').siblings('li').removeClass('current');
                $('.content>div').eq($(this).index()).addClass('show').siblings('div').removeClass('show');
            })
        })
    </script>
</body>
</html>